<?php

namespace sffi\WechatRobotPlug\msg_attribute;


trait MsgUser
{
    protected $memberWxid;

    protected $robotWxid;

    protected $groupWxid;

    protected array $inviter;

    protected array $guest;

    /**
     * @var array $botModel 机器人数据库模型
     */
    protected $botModel;

    /**
     * 机器人主人数据库模型
     * @var array
     */
    protected $masters;

    /**
     * @var array $userModel 用户数据库模型
     */
    protected $userModel;

    /**
     * @var array|null $groupModel 群组数据库模型
     */
    protected $groupModel;

    /**
     * @return mixed
     */
    public function getMemberWxid()
    {
        return $this->memberWxid;
    }

    /**
     * @return mixed
     */
    public function getGroupWxid()
    {
        return $this->groupWxid;
    }

    /**
     * @return mixed
     */
    public function getRobotWxid()
    {
        return $this->robotWxid;
    }

    public function getCurrentUser()
    {
        return $this->userModel;
    }

    public function getBotModel()
    {
        return $this->botModel;
    }

    public function getGroupModel()
    {
        return $this->groupModel;
    }

    public function getInviter(){
        return $this->inviter;
    }

    public function getGuest(){
        return $this->guest;
    }
}